package com.cytech.cloudclinic.app;

import android.app.Application;

import com.yechaoa.yutils.ActivityUtil;
import com.yechaoa.yutils.LogUtil;
import com.yechaoa.yutils.YUtils;

public class MyApplication extends Application {
    public static final String TAG = "MyApplication";
    @Override
    public void onCreate() {
        super.onCreate();
        //初始化
        YUtils.initialize(this);
        //设置打印开关
        LogUtil.setIsLog(true);

        //注册Activity生命周期
        registerActivityLifecycleCallbacks(ActivityUtil.getActivityLifecycleCallbacks());

    }
}
